<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link href="/ProfessionalDesign/css/bootstrap.min.css" rel="stylesheet"><!-- 导入bootstrap -->
<script src="https://code.jquery.com/jquery.js"></script><!-- 导入JQuery方便使用ajax插件 -->
<script src="/ProfessionalDesign/lib/bootstrap.min.js"></script><!-- 导入bootstrap核心js文件 -->
</head>
<body>
	<form class="form-horizontal" action="updateAdd" role="form">
		<input type="hidden" name="addressid" value="${addressid.addressid}">
		<input type="hidden" name="userid" value="${addressid.userid}">
		<div class="form-group">
			<label for="receivename" class="col-sm-2 control-label">收货人</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="receivename"
					placeholder="请输入收货人姓名" value="${addressid.receivename}">
			</div>
		</div>
		<div class="form-group">
			<label for="address" class="col-sm-2 control-label">收货地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="address"
					placeholder="请输入收货地址" value="${addressid.address}">
			</div>
		</div>
		<div class="form-group">
			<label for="email" class="col-sm-2 control-label">邮件地址</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="email"
					placeholder="请输入邮件地址" value="${addressid.email}">
			</div>
		</div>
		<div class="form-group">
			<label for="phone" class="col-sm-2 control-label">电话/手机</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" name="phone"
					placeholder="请输入电话/手机" value="${addressid.phone}">
			</div>
		</div>
		<div class="form-check" style="margin-left: 60px;">
			<input type="radio" class="form-check-input" id="radio1"
				name="state" value="非默认地址" checked>非默认地址<label
				class="form-check-label" for="radio1"></label>
		</div>
		<div class="form-check" style="margin-left: 60px;">
			<input type="radio" class="form-check-input" id="radio2"
				name="state" value="默认地址">默认地址 <label
				class="form-check-label" for="radio2"></label>
		</div>

		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">保存</button>
			</div>
		</div>
	</form>
</body>
</html>